<ion-header class="give-back-help-header">
  <ion-navbar hideBackButton="true">

    <ion-buttons start navPop class="back-buttons">
      <button ion-button clear></button>
    </ion-buttons>

    <ion-segment
      [(ngModel)]="nav_name"
      (ionChange)="segmentChanged($event)"
    >
      <ion-segment-button value="deduct">扣款</ion-segment-button>
      <ion-segment-button value="transfer">转账</ion-segment-button>
    </ion-segment>
  </ion-navbar>
</ion-header>

<ion-content class="give-back-help-section">

  <!--到期自动扣款
  -->
  <div *ngIf="nav_name ==='deduct'" class="show_help">

    <h4>到期自动扣款</h4>
    <office-accordion [helpList]="deduct_info"></office-accordion>
  </div>

  <!--支付宝转账
  -->
  <div *ngIf="nav_name ==='transfer'" class="show_help">
    <h4>支付宝转账</h4>

    <office-accordion [helpList]="transfer_info"></office-accordion>
  </div>
</ion-content>
